package org.zhaijisong.dao;

import org.apache.ibatis.annotations.Param;
import org.zhaijisong.pojo.Role;

import java.util.List;

public interface RoleDao extends CommonDao<Role,Integer> {
    /**
     * 按员工查相应的角色
     */
    public List<Role> getByRoleId(@Param("id")Integer id);
}
